package controllers
{
	import controllers.managers.SingletonManager;
	import controllers.managers.UIInstanceManager;
	
	import mx.core.FlexGlobals;

	public class MaperFacade
	{
		public function MaperFacade()
		{
		}
		
		public static function startApp():void
		{
			var mainApp:Maper  =  Maper(FlexGlobals.topLevelApplication);		
			//初始化单例管理模块
			SingletonManager.init(mainApp);
			//准备UI
			UIInstanceManager.initUIMgr(mainApp);
			
		}
		
		public static function stopApp():void
		{}
	}
}